home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_11_09
/
1109102a
< prev
next >
Wrap
Text File
|
1993-07-16
|
150b
|
15 lines
int k;
class X
{
int i;
static int k;
friend void f(X &x) { x.i = ++k; }
friend void g(X &x);
};
void g(X &x) { x.i = ++k; }